<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td   colspan="6" class="t_bar2">基本信息</td>
		
	</tr>
	<tr>
		<td   align="right"><span class="color_red">*</span>项目名称：</td>
		<td  colspan="5">
			<input id="zh_title" name="proposal/zh_title" label="项目名称"  type="text" required class="input_css required maxlength:100"  style="width: 725px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>认定文件（文号）：</td>
	<td colspan="2"><input name="proposal/affirm_fileno" label="认定文件" type="text"  class="input_css required "  maxlength="50" value="<x:out select="$xmlData/data/proposal/affirm_fileno" />"/></td>
	<td  align="right" nowrap><span class="color_red">*</span>认定时间：</td>
	<td colspan="2">
		<c:set var="affirm_date"><x:out select="$xmlData/data/proposal/affirm_date" /></c:set>
		<cpt:date id="affirm_date" name="proposal/affirm_date" value="${affirm_date}" className=" required date" label="认定时间"></cpt:date> 
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>注册时间：</td>
	<td >
		<c:set var="register_date"><x:out select="$xmlData/data/proposal/register_date" /></c:set>
		<cpt:date id="register_date" name="proposal/register_date" value="${register_date}" className=" required date" label="注册时间"></cpt:date> 
	</td>
	<td align="right" nowrap><span class="color_red">*</span>注册资本：</td>
	<td ><x:out select="$xmlData/data/org_basic_info/registe_fund" />万<x:out select="$xmlData/data/organizations/organization[@submit_org='1']/registe_fund_money_name" /></td>
	<td align="right" nowrap><span class="color_red">*</span>实收资本(万元)：</td>
	<td ><input name="proposal/paid_capital" label="实收资本" type="text"  class="input_css required"  style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/paid_capital" />"/></td>
	</tr>
	<tr>
	<td  align="right" ><span class="color_red">*</span>计划投资总额（万元）：</td>
	<td  colspan="1">
	<input  name="proposal/total_amount" id="total_amount"   label="计划投资总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_amount" />"/> 
	</td>
	<td  align="right" ><span class="color_red">*</span>当年完成投资总额（万元）：</td>
	<td  >
	<input  name="proposal/already_amount" id="already_amount"  label="当年完成投资总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/already_amount" />"/> 
	</td>
	<td  align="right" ><span class="color_red">*</span>累计完成投资总额（万元）：</td>
	<td  colspan="1">
	<input  name="proposal/total_investment" id="investment"   label="累计完成投资总额" type="text"  class="input_css  required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_investment" />"/> 
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>产业链环节：</td>
	<td nowrap colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="industry_01" style="vertical-align: middle;" name="industry_type" label="物联网设备制造" value="01" onclick="onChange();"/><span style="vertical-align: middle;">物联网设备制造</span></label> 
	<label> <input type="radio" class="do " id="industry_02" style="vertical-align: middle;" name="industry_type" label="软件产品开发" value="02" onclick="onChange();"/><span style="vertical-align: middle;">软件产品开发</span></label> 
	<label> <input type="radio" class="do " id="industry_03" style="vertical-align: middle;" name="industry_type" label="系统集成" value="03" onclick="onChange();"/><span style="vertical-align: middle;">系统集成</span></label>
	<label> <input type="radio" class="do " id="industry_04" style="vertical-align: middle;" name="industry_type" label="网络及运营服务" value="04" onclick="onChange();"/><span style="vertical-align: middle;">网络及运营服务</span></label>
	<label> <input type="radio" class="do " id="industry_05" style="vertical-align: middle;" name="industry_type" label="其他：" value="05" onclick="onChange();"/><span style="vertical-align: middle;">其他</span></label>
	<input name="proposal/industry_type_other" id="industry_type_other" label="产业链环节-->其他" type="text"  class="input_css gray "  disabled maxlength="20" value="<x:out select="$xmlData/data/proposal/industry_type_other" />"/>
	<input type="hidden" name="proposal/industry_type_value" id="industry_type_value" class="required" value="<x:out select="$xmlData/data/proposal/industry_type_value" />" label="产业链环节" /> 
	<input type="hidden" name="proposal/industry_type_name" id="industry_type_name" value="<x:out select="$xmlData/data/proposal/industry_type_name" />" label="产业链环节" /></td>
	</tr>
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="5">
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申报日期"></cpt:date> 
		</td>
	</tr>
	
	</table>
<div class="t_bar"><span class="color_red">*</span>主要产品或服务</div>
<table  id="tblProducts" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="15%">主要产品或服务名称</th> 
				        <th class="TblHead" align="center"  width="15%">是否具有自主知识产权</th> 
						<th class="TblHead" align="center"  width="15%">产品类型</th> 
						<th class="TblHead" align="center"  width="15%">应用领域或项目</th> 
						<th class="TblHead" align="center"  width="15%">销售额（万元）</th> 
						<th class="TblHead" align="center"  width="15%">占企业总销售收入比重(%)</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name=sblProducts >
						</td>
						<td align="center">&nbsp;
							<span name="products|product[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="products|product[0]|name"  class=" input_text required" maxlength="50" style="width:80%" label="主要产品或服务名称"/>
						</td>
						<td>
							<!-- <input type="text" name="products|product[0]|knowledge"  maxlength="10"  style="width:80%" class=" input_text required" label="是否具有自主知识产权"/> -->
						    <cpt:select id="knowledge_[index]" name="knowledge" key="is_property_right"  onChange="initControlValue(this.id)" value="" className="common_select"></cpt:select>
				            <input type="hidden" name="products|product[0]|knowledge_value" value="" class="required" label="是否具有自主知识产权"/>
				            <input type="hidden" name="products|product[0]|knowledge_name" value=""/>
								
						</td> 
						<td>
							<input type="text" name="products|product[0]|product_type"  label="产品类型" maxlength="50"  style="width:80%" class="input_text required" />
						</td> 
						<td>
							<input type="text" name="products|product[0]|field" label="应用领域或项目"  maxlength="50"  style="width:80%" class="input_text required" />
						</td> 
						<td>
							<input type="text" name="products|product[0]|saleroom"  label="销售额" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="products|product[0]|saleroom_pre"  label="占企业总销售收入比重" onfocus="InitInput.setNumber(this,7,2,2)" style="text-align:right;width:80%" class=" input_text required" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/products/product" var="product">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="sblProducts" >
						</td>
						<td align="center">&nbsp;
							<span name="products/product[${flag}${index}]@seq_no" ><x:out select="$product/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="products/product[${flag}${index}]/name"   style="width:80%"   class=" input_text required" value="<x:out select="$product/name"/>" label="主要产品或服务名称" maxlength="50"/>
						</td>
						<td >
							<%-- <input type="text" name="products/product[${flag}${index}]/knowledge" style="width:80%"  class=" input_text required" value="<x:out select="$product/knowledge"/>" label="是否具有自主知识产权" maxlength="10"/> --%>
						    <c:set var="knowledge_value"><x:out select="$product/knowledge_value"/></c:set>
							<cpt:select id="knowledge_${index}" name="knowledge" key="is_property_right"  onChange="initControlValue(this.id)" value="${knowledge_value }" className="common_select"></cpt:select>
				            <input type="hidden" name="products/product[${flag}${index}]/knowledge_value" value="<x:out select="$product/knowledge_value"/>" class="required" label="是否具有自主知识产权"/>
				            <input type="hidden" name="products/product[${flag}${index}]/knowledge_name" value="<x:out select="$product/knowledge_name"/>"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/product_type" style="width:80%"  class=" input_text required" value="<x:out select="$product/product_type"/>" label="产品类型" maxlength="50"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/field" style="width:80%"  class=" input_text required" value="<x:out select="$product/field"/>" label="应用领域或项目" maxlength="50"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/saleroom"  onfocus="InitInput.setNumber(this,7,4,2)"   label="销售额" style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$product/saleroom" />"/>
						</td> 
						<td >
							<input type="text" name="products/product[${flag}${index}]/saleroom_pre"  onfocus="InitInput.setNumber(this,7,2,2)" label="占企业总销售收入比重"  style="text-align:right;width:80%"  class=" input_text required" value="<x:out select="$product/saleroom_pre" />"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblProducts');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblProducts','sblProducts')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblProducts','sblProducts')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblProducts','主要产品或服务');">
					</td></tr>
	</table>
	<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo1" cellspacing="1">
	<tr class="li_1">
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>${year-1 }年度物联网产品和服务经营状况（单位：万元）</td>
	</tr>
    <%-- <tr align="center">
    <td  width="135" align="right">销售收入：</td>
    <td>
    <input type="hidden" name="proposal/finance_income1" id="finance_income1" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no='3']/income" />"/>
    <input type="hidden" name="proposal/finance_income2" id="finance_income2" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no='5']/income" />"/>
    <input type="hidden" name="proposal/proft_total1" id="proft_total1" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no='3']/proft_total" />"/>
    <input type="hidden" name="proposal/proft_total2" id="proft_total2" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no='5']/proft_total" />"/>
    <input type="hidden" name="proposal/fax1" id="fax1" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no='3']/fax" />"/>
    <input type="hidden" name="proposal/fax2" id="fax2" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no='5']/fax" />"/>
    <span name="proposal/finance_income" id="finance_income"></span></td>
    <td align="right">同比增加：</td>
    <td><span name="proposal/finance_income_pre" id="finance_income_pre"></span></td>
    <td align="right">增幅（%）：</td>
   <td> <span name="proposal/finance_income_growth" id="finance_income_growth"></span></td>
    </tr>
  <tr align="center">
    <td align="right">利润总额：</td>
    <td><span name="proposal/finance_proft_total"  id="finance_proft_total"></span></td>
    <td align="right">同比增加：</td>
    <td><span name="proposal/finance_proft_total_pre"  id="finance_proft_total_pre"></span></td>
    <td align="right">增幅（%）：</td>
  <td> <span name="proposal/finance_proft_total_growth" id="finance_proft_total_growth""></span></td>
    </tr>
    <tr align="center">
   
    <td align="right">税收总额：</td>
    <td><span name="proposal/finance_fax" id="finance_fax"></span></td>
    <td align="right">同比增加：</td>
    <td><span name="proposal/finance_fax_pre" id="finance_fax_pre"></span></td>
    <td align="right">增幅（%）：</td>
   <td> <span name="proposal/finance_fax_growth" id="finance_fax_growth"></span></td>
    </tr> --%>
    <tr align="center">
    <td align="right">销售收入：</td>
    <td>
    <input  name="proposal/finance_income"  label="${year-1 }年度物联网产品和服务经营状况-->销售收入" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/finance_income" />"/>
    </td>
    <td align="right">同比增加：</td>
    <td>
    <input  name="proposal/finance_income_pre"  label="${year-1 }年度物联网产品和服务经营状况-->销售收入同比增加" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/finance_income_pre" />"/>
    </td>
    <td align="right">增幅（%）：</td>
    <td> 
    <input  name="proposal/finance_income_growth"  label="${year-1 }年度物联网产品和服务经营状况-->销售收入增幅" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2,null,true)" value="<x:out select="$xmlData/data/proposal/finance_income_growth" />"/>
    </td>
    </tr>
    <tr align="center">
    <td align="right">利润总额：</td>
    <td>
    <input  name="proposal/finance_proft_total"  label="${year-1 }年度物联网产品和服务经营状况-->利润总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/finance_proft_total" />"/>
    </td>
    <td align="right">同比增加：</td>
    <td>
    <input  name="proposal/finance_proft_total_pre"  label="${year-1 }年度物联网产品和服务经营状况-->利润总额同比增加" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/finance_proft_total_pre" />"/>
    </td>
    <td align="right">增幅（%）：</td>
    <td> 
    <input  name="proposal/finance_proft_total_growth"  label="${year-1 }年度物联网产品和服务经营状况-->利润总额增幅" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2,null,true)" value="<x:out select="$xmlData/data/proposal/finance_proft_total_growth" />"/>
    </td>
    </tr>
    <tr align="center">
    <td align="right">税收总额：</td>
    <td>
    <input  name="proposal/finance_fax"  label="${year-1 }年度物联网产品和服务经营状况-->税收总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/finance_fax" />"/>
    </td>
    <td align="right">同比增加：</td>
    <td>
    <input  name="proposal/finance_fax_pre"  label="${year-1 }年度物联网产品和服务经营状况-->税收总额同比增加" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/finance_fax_pre" />"/>
    </td>
    <td align="right">增幅（%）：</td>
    <td> 
    <input  name="proposal/finance_fax_growth"  label="${year-1 }年度物联网产品和服务经营状况-->税收总额增幅" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2,null,true)" value="<x:out select="$xmlData/data/proposal/finance_fax_growth" />"/>
    </td>
    </tr>
	<tr>
		<td colspan="6" class="t_bar2">税收贡献情况</td>
	</tr>
	<tr align="center">
	<td rowspan="4">${year-2 }年度</td>
	<td align="right">增值税（万元）：</td>
	<td><span id="total_add" name="proposal/total_add"></span></td>
	
	<td rowspan="4">${year-1 }年度</td>
	<td align="right">增值税（万元）：</td>
	<%-- <td><input name="proposal/sale_add"   label="本年度税收贡献情况-->增值税"  class="required" onchange="countFundAuto('sale_','business,add,organization','totoal');"  id="sale_add" onfocus="InitInput.setNumber(this,7,4,2)"  value="<x:out select="$xmlData/data/proposal/sale_add"/>" style="text-align:right"/></td> --%>
	<td><span id="sale_add" name="proposal/sale_add"></span></td>
	 </tr>
	<tr align="center">
	<td align="right">营业税（万元）：</td>
	<td><span id="total_business" name="proposal/total_business"></span></td>
	
	<td align="right">营业税（万元）：</td>
	<%-- <td><input name="proposal/sale_business"   label="本年度税收贡献情况-->营业税"  class="required" onchange="countFundAuto('sale_','business,add,organization','totoal');" id="sale_business" onfocus="InitInput.setNumber(this,7,4,2)"  value="<x:out select="$xmlData/data/proposal/sale_business"/>" style="text-align:right"/></td> --%>
	<td><span id="sale_business" name="proposal/sale_business"></span></td>
	</tr>
	<tr align="center">
	<td align="right">企业所得税（万元）：</td>
		<td><span id="total_organization" name="proposal/total_organization"></span></td>
	
	<td align="right">企业所得税（万元）：</td>
	<%-- <td><input name="proposal/sale_organization"  label="本年度税收贡献情况-->企业所得税" class="required"  onchange="countFundAuto('sale_','business,add,organization','totoal');"  id="sale_organization" onfocus="InitInput.setNumber(this,7,4,2)"  value="<x:out select="$xmlData/data/proposal/sale_organization"/>" style="text-align:right"/></td> --%>
	<td><span id="sale_organization" name="proposal/sale_organization"></span></td>
	</tr>
	<tr align="center">
	<td align="right">合计：</td>
	<td><span id="total_total" name="proposal/total_total"></span></td>
	<td align="right">合计：</td>
	<%-- <td><input name="proposal/sale_totoal" label="本年度税收贡献情况-->合计" class="gray" disabled id="sale_totoal" onfocus="InitInput.setNumber(this,7,4,2)"  value="<x:out select="$xmlData/data/proposal/sale_totoal"/>" style="text-align:right"/></td> --%>
	<td><span id="sale_total" name="proposal/sale_totoal"></span></td>
	</tr>
	</table>
	
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo2"
	cellspacing="1">	
	<tr>
		<td   colspan="6" class="t_bar2">申请项目资金情况(单位：万元)</td>
		
	</tr>
	<tr>
		<td  align="right"  >项目类别：</td>
		<td  colspan="2"><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
		<td  align="right">支持方式：</td>
		<td  colspan="2">
			<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		
	</tr>
	<tr>
		<td  align="right"><span class="color_red">*</span>申请金额：</td>
		<td  colspan="2">
		<input  name="proposal/sqje" id="sqje" label="申请金额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
		</td>
		<td  align="right">资金级次：</td>
		<td colspan="2">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	    <td  align="right" >归口管理部门：</td>
		<td  colspan="2"><span name="proposal/org_name">无锡市经济和信息化委员会</span> </td>
	    <td  align="right">管理类别：</td>
		<td colspan="2">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	</table>
	<table  width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td    class="t_bar2">申请资助依据条款</td>
		
	</tr>
	<tr>
		<td >
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>

<br/>
<div class="t_bar">人员信息</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo3"
	cellspacing="1">
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>
<script type="text/javascript">


$(function(){
	
	$("#sale_add").text($("#finance_920_4").text().replace(new RegExp("\,","g"), ""));
	$("#sale_business").text($("#finance_921_4").text().replace(new RegExp("\,","g"), ""));
	$("#sale_organization").text($("#finance_922_4").text().replace(new RegExp("\,","g"), ""));
	countFundSpanAuto("sale_","add,business,organization","total");
	$("#total_add").text($("#finance_920_2").text().replace(new RegExp("\,","g"), ""));
	$("#total_business").text($("#finance_921_2").text().replace(new RegExp("\,","g"), ""));
	$("#total_organization").text($("#finance_922_2").text().replace(new RegExp("\,","g"), ""));
	countFundSpanAuto("total_","add,business,organization","total");
	
	/* var finance_income1= $("#finance_income1").val().replace(new RegExp("\,","g"), "");
	var finance_income2= $("#finance_income2").val().replace(new RegExp("\,","g"), "");
	
	var finance_proft_total1= $("#proft_total1").val().replace(new RegExp("\,","g"), "");
	var finance_proft_total2= $("#proft_total2").val().replace(new RegExp("\,","g"), "");
	
	var finance_fax1= $("#fax1").val().replace(new RegExp("\,","g"), "");
	var finance_fax2= $("#fax2").val().replace(new RegExp("\,","g"), "");
	
	
	$("#finance_income").text(finance_income2);
	$("#finance_income_pre").text(formatVal2(finance_income2-finance_income1));
	$("#finance_income_growth").text(formatVal((finance_income2-finance_income1)*100/finance_income1));
	
	$("#finance_proft_total").text(finance_proft_total2);
	$("#finance_proft_total_pre").text(formatVal2(finance_proft_total2-finance_proft_total1));
	$("#finance_proft_total_growth").text(formatVal((finance_proft_total2-finance_proft_total1)*100/finance_proft_total1));
	
	$("#finance_fax").text(finance_fax2);
	$("#finance_fax_pre").text(formatVal2(finance_fax2-finance_fax1));
	$("#finance_fax_growth").text(formatVal((finance_fax2-finance_fax1)*100/finance_fax1)); */
	
	
	onChange();
	
});








function countFundSpanAuto(idStart, countStr, totalStr) {

	var indexs = countStr.split(",");
	var count = 0;
	for ( var i = 0; i < indexs.length; i++) {
		var fund = $("#" + idStart + indexs[i]).text().replace(new RegExp("\,","g"), "");
		if (!$.isNumeric(fund))
			fund = "0";
		count = ((parseFloat(count)*10000 + parseFloat(fund)*10000)/10000).toFixed(4);
	}

	count = formatNumberAuto(count.toString(), 9, 4, 2);// 格式化金额
	$("#" + idStart + totalStr).text(count);
}

function onChange(){
	if($("#industry_05").is(":checked")){
		$("#industry_type_other").removeClass("gray");
		$("#industry_type_other").addClass("required");
		$("#industry_type_other").attr("disabled",false);
	}else{
		$("#industry_type_other").removeClass("required");
		$("#industry_type_other").addClass("gray");
		$("#industry_type_other").attr("disabled",true);
		$("#industry_type_other").val("");
	}
}


</script>

